<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PackageBookingManagement.ascx.cs" Inherits="admin_PackageBookingManagement" %>
<script type="text/javascript">
  $(function() {
		$("#<%=txtDepartureDate.ClientID %>" ).datepicker();
	});
</script>
<table>
    <tr>
        <td style="width: 135px">
            <asp:Label ID="Label1" runat="server" Text="Customer name:"></asp:Label></td>
        <td style="width: 300px">
            <asp:Label ID="lblCustomerName" runat="server"></asp:Label></td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
            <asp:Label ID="Label2" runat="server" Text="Customer address:"></asp:Label>:</td>
        <td style="width: 300px">
            <asp:Label ID="lblAddress" runat="server"></asp:Label></td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
            <asp:Label ID="Label3" runat="server" Text="Customer phone:"></asp:Label></td>
        <td style="width: 300px">
            <asp:Label ID="lblPhone" runat="server"></asp:Label></td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
            <asp:Label ID="Label4" runat="server" Text="Customer email:"></asp:Label></td>
        <td style="width: 300px">
            <asp:Label ID="lblEmail" runat="server"></asp:Label></td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
            <asp:Label ID="Label5" runat="server" Text="Booked package:"></asp:Label></td>
        <td style="width: 300px">
            <asp:Label ID="lblPackage" runat="server"></asp:Label></td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
            <asp:Label ID="Label6" runat="server" Text="Number of guests:"></asp:Label></td>
        <td style="width: 300px">
            <asp:TextBox ID="txtGuestNumber" runat="server"></asp:TextBox></td>
        <td style="width: 149px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtGuestNumber"
                Display="Dynamic" ErrorMessage="Please specify number of guests" ValidationGroup="A">*</asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtGuestNumber"
                Display="Dynamic" ErrorMessage='Invalid value for "Number of guests"' ValidationExpression="\d+(\.\d+)?"
                ValidationGroup="A">*</asp:RegularExpressionValidator></td>
    </tr>
    <tr>
        <td style="width: 135px">
            <asp:Label ID="Label7" runat="server" Text="Departure date:"></asp:Label></td>
        <td style="width: 300px">
            <asp:TextBox ID="txtDepartureDate" runat="server"></asp:TextBox></td>
        <td style="width: 149px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtDepartureDate"
                Display="Dynamic" ErrorMessage="Please specify departure date" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 135px; height: 46px">
            Requirements:</td>
        <td style="width: 300px; height: 46px">
            <asp:TextBox ID="txtNote" runat="server" Height="100px" TextMode="MultiLine" Width="199px"></asp:TextBox></td>
        <td style="width: 149px; height: 46px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
            State:</td>
        <td style="width: 300px">
            <asp:DropDownList ID="cmbState" runat="server">
            </asp:DropDownList></td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
        </td>
        <td style="width: 300px">
            <asp:LinkButton ID="lnkUpdate" runat="server" CssClass="c_button" ValidationGroup="A" OnClick="lnkUpdate_Click">Update</asp:LinkButton>
            <asp:LinkButton ID="lnkDelete" runat="server" CssClass="c_button" OnClick="lnkDelete_Click" OnClientClick="return confirm('Are you sure want to delete?');">Delete</asp:LinkButton></td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
        </td>
        <td style="width: 300px">
        </td>
        <td style="width: 149px">
        </td>
    </tr>
    <tr>
        <td style="width: 135px">
        </td>
        <td style="width: 300px">
        <a href="Default.aspx?ctrl=booking_list&search=<%=GetSearchRequest() %>">Back to list page</a>
        </td>
        <td style="width: 149px">
        
        </td>
    </tr>
</table>
<script type="text/javascript" language="javascript">    
	window.location.hash="<%=ActiveAccording %>";
</script>